HivePress\Components\Router B

Total Complexity 94
Dependencies 0
Dependents 0
Total lines 667
Lines of code 342
Logical lines of code 186
Comment lines 191
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
set_page_template()
B
39 20 62
get_url()
A
45 10 39
add_rewrite_rules()
A
48 8 30
get_current_route()
A
54 8 20
set_page_context()
S
56 5 17
set_rewrite_slug()
S
58 5 14
get_admin_url()
S
52 4 27
get_url_path()
S
59 4 15
register_rest_routes()
S
58 4 15
get_redirect_callbacks()
S
56 3 19
disable_page_redirect()
S
64 4 9
set_page_title()
S
64 4 10
__construct()
S
56 2 17
get_routes()
S
65 3 9
get_current_url()
S
66 2 8
disable_page_title()
S
70 2 6
get_return_url()
S
69 1 8
flush_rewrite_rules()
S
81 1 3
get_url_params()
S
72 1 5
get_current_route_name()
S
78 1 3
get_route()
S
78 1 3
get_redirect_url()
S
78 1 3